package com.ly.video.api.user.mapper;

import com.ly.video.api.user.entity.InComeEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface InComeMapper {

    /**
     * 添加收入信息
     */
    public Integer addInComeInfo(InComeEntity inCome);

    /**
     * 倒序分页查询用户收入详情
     */
    public List<InComeEntity> findUserInComeInfo(@Param("page") int page, @Param("size")int size, @Param("uid") String uid);
}
